/**
 * 
 */
package Consult.view;

import java.awt.EventQueue;

import javax.swing.JInternalFrame;
import javax.swing.ImageIcon;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JMenu;
import java.awt.Color;
import java.awt.Font;
import java.awt.SystemColor;
import javax.swing.UIManager;

/**
 * @author zhaoyana
 *
 */
public class studentview extends JInternalFrame {

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					studentview frame = new studentview();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public studentview() {
		setBackground(UIManager.getColor("Button.background"));
		getContentPane().setBackground(new Color(255, 255, 255));
		setForeground(new Color(204, 255, 204));
		setTitle("学生登录图书馆界面");
		setFrameIcon(new ImageIcon(studentview.class.getResource("/images/头像.png")));
		setClosable(true);
		setMaximizable(true);
		setIconifiable(true);
		setBounds(100, 100, 821, 692);
		
		JMenuBar menuBar = new JMenuBar();
		setJMenuBar(menuBar);
		
		JMenu mnNewMenu = new JMenu("管理");
		mnNewMenu.setIcon(new ImageIcon(studentview.class.getResource("/images/guanli.png")));
		mnNewMenu.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 25));
		mnNewMenu.setForeground(Color.BLACK);
		menuBar.add(mnNewMenu);
		
		JMenu mnNewMenu_1 = new JMenu("书籍管理");
		mnNewMenu_1.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 22));
		mnNewMenu_1.setForeground(Color.BLACK);
		mnNewMenu.add(mnNewMenu_1);

	}

}
